﻿using Inspection.Helper;
using Inspection.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Vision.AlgBase;

namespace Inspection.Views
{
    /// <summary>
    /// UCSystemParame.xaml 的交互逻辑
    /// </summary>
    public partial class UCSystemParame : UserControl
    {
        public UCSystemParame()
        {
            InitializeComponent();
        }
        public static DependencyProperty SubObjectProperty = DependencyProperty.Register("SubObject", typeof(SysInitialParame), typeof(UCSystemParame), new FrameworkPropertyMetadata(new SysInitialParame(), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault));

        public SysInitialParame SubObject
        {
            get { return (SysInitialParame)GetValue(SubObjectProperty); }
            set { SetValue(SubObjectProperty,value); }
        }

        public HashSet<WindowInfo> AllExistWin
        {
            get { return WindowInfo.GetOpenWindows(); }
        }
        
    }

   
}
